package com.surenpi.jenkins.client.queue;

import com.surenpi.jenkins.client.BaseModel;

public class QueueItem extends BaseModel {
   private int id;
   private boolean blocked;
   private boolean buildable;
   private long inQueueSince;
   private String params;
   private boolean stuck;
   private String url;
   private String why;
   private long buildableStartMilliseconds;
   private boolean pending;

   public int getId() {
      return this.id;
   }

   public void setId(int id) {
      this.id = id;
   }

   public boolean isBlocked() {
      return this.blocked;
   }

   public void setBlocked(boolean blocked) {
      this.blocked = blocked;
   }

   public boolean isBuildable() {
      return this.buildable;
   }

   public void setBuildable(boolean buildable) {
      this.buildable = buildable;
   }

   public long getInQueueSince() {
      return this.inQueueSince;
   }

   public void setInQueueSince(long inQueueSince) {
      this.inQueueSince = inQueueSince;
   }

   public String getParams() {
      return this.params;
   }

   public void setParams(String params) {
      this.params = params;
   }

   public boolean isStuck() {
      return this.stuck;
   }

   public void setStuck(boolean stuck) {
      this.stuck = stuck;
   }

   public String getUrl() {
      return this.url;
   }

   public void setUrl(String url) {
      this.url = url;
   }

   public String getWhy() {
      return this.why;
   }

   public void setWhy(String why) {
      this.why = why;
   }

   public long getBuildableStartMilliseconds() {
      return this.buildableStartMilliseconds;
   }

   public void setBuildableStartMilliseconds(long buildableStartMilliseconds) {
      this.buildableStartMilliseconds = buildableStartMilliseconds;
   }

   public boolean isPending() {
      return this.pending;
   }

   public void setPending(boolean pending) {
      this.pending = pending;
   }
}
